<?php

namespace Home\Controller;
use Think\Controller;

class OpenController extends Controller {

    /*
     * 每天执行的定时任务
     */
    public function index() {
        $where['is_yearfee']=1;
        $userlist = M('users')->where($where)->select();
        $start=date('Y-m-d',$userlist[0]['jh_time']);
        $start_time = strtotime("2009-10-21 16:00:10"); 
        var_dump($start);exit();
        $m= date('m',$userlist[0]['jh_time']); 
        $d=date('d',$userlist[0]['jh_time']); 


       exit();
        var_dump($userlist[0]);
    }

    


    

 

  

   

}
